﻿using System;

namespace Teigha.Core
{
	public class OdRxDictionaryIterator_Internal : OdRxDictionaryIterator
	{
		public OdRxDictionaryIterator_Internal(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
		{
		}

		public override string getKey()
		{
			string result = GlobalsPINVOKE.OdRxDictionaryIterator_getKey(OdRxDictionaryIterator.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public override uint id()
		{
			uint result = GlobalsPINVOKE.OdRxDictionaryIterator_id(OdRxDictionaryIterator.getCPtr(this));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}
	}
}
